﻿/**********************************************************************
 * @file   OperSubSystemFreeSideCheck.h
 * @brief  子系统自由边检查
 * @author liuzhonghua (liuzhonghuaszch@163.com)
 * @date   2024-11-13
 *********************************************************************/
#ifndef _OperSubSystemFreeSideCheck_H
#define _OperSubSystemFreeSideCheck_H

#include "FITK_Kernel/FITKCore/FITKActionOperator.h"
#include "FITK_Kernel/FITKCore/FITKOperatorRepo.h"
#include "FITK_Kernel/FITKCore/FITKThreadTask.h"


namespace Acoustics
{
    class FITKAbstractSEASubSys;
    class FITKSEASubSysCavity;
}

namespace ModelOper
{
    /**
     * @brief 子系统创建操作器
     * @author liuzhonghua (liuzhonghuaszch@163.com)
     * @date   2024-10-23
     */
    class OperSubSystemFreeSideCheck :public Core::FITKActionOperator
    {
        Q_OBJECT;
    public:
        /**
         * @brief Construct a new Operators Create SubSystem object
         * @author liuzhonghua (liuzhonghuaszch@163.com)
         * @date   2024-10-23
         */
        explicit OperSubSystemFreeSideCheck() = default;
        /**
         * @brief Destroy the Operators Create SubSystem object
         * @author liuzhonghua (liuzhonghuaszch@163.com)
         * @date   2024-10-23
         */
        virtual ~OperSubSystemFreeSideCheck() = default;
        /**
         * @brief 执行
         * @return true 成功
         * @return false 失败
         * @author liuzhonghua (liuzhonghuaszch@163.com)
         * @date   2024-10-23
         */
        virtual bool execGUI() override;
        /**
         * @brief 执行结果处理
         * @return true 成功
         * @return false 失败
         * @author liuzhonghua (liuzhonghuaszch@163.com)
         * @date   2024-10-23
         */
        virtual bool execProfession() override;
    };

    // 按钮注册相关操作
    Register2FITKOperatorRepo(actionFreeEdgeCheck, OperSubSystemFreeSideCheck);
}

#endif